'''
 类 Dog
'''

class Dog():
    """"  就是一个类   有属性与方法 """

    name = '程序员'
    age = 99

    def __init__(self, name, age):
        """ 初始化属性name age"""
        self.name = name
        self.age = age

    def sit(self):
        """"狗蹲下方法"""
        print(self.name.title() + "is now sitting!")


